%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"
net stop "AllJS Data Service"
sc delete "AllJSDataService"
"D:\Program Files\MongoDB\Server\3.6\bin\mongod.exe" --dbpath "F:\project\alljs\data\db" --logpath "F:\project\alljs\data\db.log" --logappend --serviceName "AllJSDataService" --serviceDisplayName "AllJS Data Service" --install
net start "AllJS Data Service"
pause